home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 3.3 KB | 135 lines | [TEXT/MPS ] |
- /*
- File: TextUtils.idl
-
- Contains: Text Utilities Interfaces.
-
- Version: Technology: System 7.0 through System 8
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __TEXTUTILS_IDL__
- #define __TEXTUTILS_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __SCRIPT_IDL__
- #include <Script.idl>
- #endif
- #ifndef __OSUTILS_IDL__
- #include <OSUtils.idl>
- #endif
- #ifndef __TEXTOBJECTS_IDL__
- #include <TextObjects.idl>
- #endif
- #ifndef __NUMBERFORMATTING_IDL__
- #include <NumberFormatting.idl>
- #endif
- #ifndef __TIMEOBJECTS_IDL__
- #include <TimeObjects.idl>
- #endif
- #ifndef __STRINGCOMPARE_IDL__
- #include <StringCompare.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- /*
-
- Here are the current System 7 routine names and the translations to the older forms.
- Please use the newer forms in all new code and migrate the older names out of existing
- code as maintainance permits.
-
- NEW NAME OLD NAMEs OBSOLETE FORM (no script code)
-
- FindScriptRun
- FindWordBreaks NFindWord, FindWord
- GetIndString
- GetString
- Munger
- NewString
- SetString
- StyledLineBreak
- TruncString
- TruncText
-
- UpperString ($A054) UprString, UprText
- UppercaseText SCUpperText (a only) UpperText ($A456)
- LowercaseText LwrString, LowerText, LwrText ($A056)
- StripDiacritics StripText ($A256)
- UppercaseStripDiacritics StripUpperText ($A656)
-
-
- */
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- /* Type for truncWhere parameter in TruncString, TruncText */
- typedef short TruncCode;
-
- typedef SInt8 StyledLineBreakCode;
-
- typedef SOMTwoByteStruct ScriptRunStatus; /* Derived from a struct of 2 bytes in size */
-
- typedef SOMLargeStruct BreakTable; /* Derived from a struct of 260 bytes in size */
-
- typedef OpaquePtr BreakTablePtr; /* Substituted OpaquePtr for “BreakTable*” */
-
- typedef SOMLargeStruct NBreakTable; /* Derived from a struct of 274 bytes in size */
-
- typedef OpaquePtr NBreakTablePtr; /* Substituted OpaquePtr for “NBreakTable*” */
-
- /* The following functions are new names that work on 68k and PowerPC */
- #endif
- /* FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE*/
- #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
- #if CGLUESUPPORTED
- #endif
- /*
- CGLUESUPPORTED
- The following are macros which map old names to the names exported by InterfaceLib
- */
- #if OLDROUTINENAMES
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- #if CGLUESUPPORTED
- #endif
- #endif
- /* FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED*/
- #endif
- /* OLDROUTINENAMES*/
- /* Old routine name but no new names are mapped to it:*/
- #endif
- /* FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE*/
- /*
- The following functions are old names, but are required for PowerPC builds
- because InterfaceLib exports these names, instead of the new ones.
- */
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- #endif
- /* FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE*/
- #if CGLUESUPPORTED
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- #endif
- #endif
- /* CGLUESUPPORTED*/
- #if !OLDROUTINELOCATIONS
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- #endif
- /* FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE*/
- #endif
- /* !OLDROUTINELOCATIONS*/
-
- #endif /* __SOMIDL__ */
-
- #endif /* __TEXTUTILS_IDL__ */
-
-